AB MicroLogix 1100 Ethernet communication driver

 

AB MicroLogix 1100 Ethernet Communication Driver is the driver to communicate with  MicroLogix 1100 PLC of Rockwell Automation in U.S.A.

 

1. Read settings

 

<Figure 1> is read setting example of AB MicroLogix 1100 Ethernet communication driver.

<Figure 1> Read setting example of AB MicroLogix 1100 Ethernet communication driver

 Device part of  <Figure 1> input Device Type(TCP/IP), IP address of PLC(192.168.1.44), service port number(44818 : fixed) respectively.

 

AB MicroLogix 1100 Ethernet communication driver¡¯s read schedule

Read schedule setting parameters are as follows:

1) STATION – Don't care.

2) memory type and file number – memory type = O, I, S, B, T, C, R, N, F, L, file number =  3 ~ 999(Refer to <Table 1>).

O, I, S memory type = don't input file number. (fixed 0, 1, 2)

3) Read Start Address – read start address of memory.

4) Save Start Address for Communication Server – save start address.

5) Read Size – word unit size. 

 

Read schedule example)

READ,     0,    N7,     0,    0,   1,

FLOAT,    0,    F8,     0,    0,   1,

 

<Table 1> is memory type and file number of AB MicroLogix 1100 Ethernet communication driver.

 

Memory

Memory Type

File No.

O

Output Files

 0 (Fixed)

I

Input Files

1 (Fixed)

S

Status Files

2 (Fixed)

B

Binary Files

3, 9 ~ 999

T

Timer Files

4, 9 ~ 999

C

Counter Files

5, 9 ~ 999

R

Control Files

6, 9 ~ 999

N

Integer Files

7, 9 ~ 999

F

Float Files

8, 9 ~ 999

L

Long Files

9 ~ 999

<Table 1> Memory type and file number of AB MicroLogix 1100 Ethernet communication driver

If you click the icon  in protocol option part, you can see the dialogue box such as <Figure 2>. you can also set read schedule by using this part.

 

<Figure 2> Example of  AB MicroLogix 1100 Ethernet communication driver¡¯s Option dialogue box

 

You can set read schedule by using 3, 4, 5 button and listbox of <Figure 2>.

<Figure 3> Example of  AB MicroLogix 1100 Ethernet communication driver¡¯s read schedule Add/Edit dialogue box

  When you click Add button or Edit button in dialogue box of <Figure 2>, dialogue box of <Figure 3> is shown.

 

 

2. Writing settings

You can write AB MicroLogix 1100 PLC by writing settings.

 

Bit Write

Bit write setting parameters are as follows:

1)  PORT                  Port no. (0 ~ 255)

2)  STATION             Don't care.

3)  ADDRESS          Upper 3 digit = word unit writing address (10 digit), Lower 1 digit = 0 ~ F(16 digit) writing bit pos.

4)  Extra1                  Memory type = O, S, B, T, C, R, N and 3 ~ 999 file number. (refer to <Table 1> )

5)  Extra2                  Don't care.

 

Write example 1)

PORT : 0   STATION : 0   ADDRESS : 0000  EXTRA1 : O  EXTRA2 : 0

The setting parameter shown above is an example of bit write for 0 word, bit 0 of memory O for AB MicroLogix 1100 PLC connected with 0 port.

 

Write example 2)

PORT : 0   STATION : 0   ADDRESS : 000F  EXTRA1 : O  EXTRA2 : 0

The setting parameter shown above is an example of bit write for 0 word, bit F of memory O for AB MicroLogix 1100 PLC connected with 0 port.

 

 

Word Write

Word write setting parameters are as follows:

1)  PORT                  Port no. (0 ~ 255)

2)  STATION            Don't care.

3)  ADDRESS           F, L memory = double word unit writing address(10 digit), O, S, T, C, R, N =  word unit writing address (10 digit). 

4)  Extra1                  Memory type = O, S, B, T, C, R, N and 3 ~ 999 file number. (refer to <Table 1> )

5)  Extra2                  Don't care.

 

 

Write example 1)

PORT : 0   STATION : 0   ADDRESS : 0000  EXTRA1 : N7  EXTRA2 : 0

The setting parameter shown above is an example of word write for 0 word of memory N7 for AB MicroLogix 1100 PLC connected with 0 port.

 

Write example 1)

PORT : 0   STATION : 0   ADDRESS : 0012  EXTRA1 : F8  EXTRA2 : 0

The setting parameter shown above is an example of word write for 12 float(double word) of memory F8 for AB MicroLogix 1100 PLC connected with 0 port.

 

 

Block write

Block write comes to be executed by ¡®PlcScanWriteBlock¡¯ script function.

Available script variables are ushort, uint, float.

Script name and format: @PlcScanWriteBlock(int port, int station, int address, string extra1, string extra2, object array_value, int array_size);

   Scripting example 1)

If you want to set by 12, 13, 14, 15 in N7 memory 5, 6, 7, 8 WORD format address.

 

             ushort   writeVal[4];

 

writeVal[0] = 12;

writeVal[1] = 13;

 writeVal[2] = 14;

writeVal[3] = 15;

@PlcScanWriteBlock(0, 0, 5, ¡°N7¡±, ¡°¡±, writeVal, 4);

 

Note) Block write of AB MicroLogix 1100 Ethernet communication driver is available only WORD/DWORD/FLOAT/DOUBLE unit.

Also Block write is supported 10.1.4.3 version or higher.

 

 

3.  Appearance of AB MicroLogix 1100 PLC

<Figure 4> shows the appearance of AB MicroLogix 1100.

 

1.png
<Figure 4> Appearance of AB MicroLogix 1100